package com.edu.bean;

import java.util.List;

public class Author {
    private int authorId;

    private String authorName;

    private String authorSex;

    private String authorAge;

    private List<Book> bookList;

    public List<Book> getBookList() {
        return bookList;
    }

    public void setBookList(List<Book> bookList) {
        this.bookList = bookList;
    }

    public int getAuthorId() {
        return authorId;
    }

    public void setAuthorId(int authorId) {
        this.authorId = authorId;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public String getAuthorSex() {
        return authorSex;
    }

    public void setAuthorSex(String authorSex) {
        this.authorSex = authorSex;
    }

    public String getAuthorAge() {
        return authorAge;
    }

    public void setAuthorAge(String authorAge) {
        this.authorAge = authorAge;
    }

    @Override
    public String toString() {
        return "author{" +
                "authorId=" + authorId +
                ", authorName='" + authorName + '\'' +
                ", authorSex='" + authorSex + '\'' +
                ", authorAge='" + authorAge + '\'' +
                '}';
    }
}
